<script setup lang="ts">
import { RouterView } from 'vue-router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const config = {
  locale: zhCn,
  zIndex: 2000,
  button: {
    autoInsertSpace: true,
  },
  message: {
    max: 5,
    grouping: true,
  },
  // ...
}
</script>

<template>
  <el-config-provider v-bind="config">
    <RouterView />
  </el-config-provider>
</template>

<style scoped></style>
